package com.kaili.basic.pojo.entity;



import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户对象
 * @Copyright: Copyright (c) 2017
 * @Company: 杭州凯立通信有限公司
 * @author zhengs
 * @version 1.0.0 2017年7月18日 下午7:24:00
 */
@TableName("base_car")
public class BaseCar extends CommonVo implements Serializable {



	private static final long serialVersionUID = 1L;

	private Integer Id;
	//车牌号
	private String carNo;
	//品牌型号
	private int brandModel;

	//所属网点id
	private Long belongSiteId;
	//所属网点名称
	private String belongSiteIdName;
	//车型
	private int carType;
	//额定载重
	private BigDecimal tonne;
	//额定容积
	private Double ratedVolume;
	//车主id
	private Long carOwner;
	//车主姓名
	private String carOwnerName;
	//电话
	private String phoneNumber;
	//上牌时间
	private Date registeredTime;
	//年检有效期至
	private Date annualCheckExpiryTime;
	//地址
	private String address;
	//创建人id
	private Long createBy;
	//创建人姓名,此字段是为了保存子查询出来的字段，数据库表中没有该字段
	private String createByName;
	//修改人
	private Long modifyBy;
	//修改人姓名 此字段是为了保存子查询出来的字段，数据库表中没有该字段
	private String modifyByName;
	//备注
	private String remark;
	//创建时间
	private Date createTime;
	//修改时间
	private Date modifyTime;
	//状态（0：失效，2：正常）
	private Integer rdstatus;
	//车主是否是驾驶员
	private int isDriver;
	//状态（空闲，在途）
	private String carStatus;


	public Integer getId() {
		return Id;
	}

	public void setId(Integer Id) {
		this.Id = Id;
	}

	public String getCarNo() {
		return carNo;
	}

	public void setCarNo(String carNo) {
		this.carNo = carNo;
	}

	public int getBrandModel() {
		return brandModel;
	}

	public void setBrandModel(int brandModel) {
		this.brandModel = brandModel;
	}

	public Long getBelongSiteId() {
		return belongSiteId;
	}

	public void setBelongSiteId(Long belongSiteId) {
		this.belongSiteId = belongSiteId;
	}

	public int getCarType() {
		return carType;
	}

	public void setCarType(int carType) {
		this.carType = carType;
	}

	public BigDecimal getTonne() {
		return tonne;
	}

	public void setTonne(BigDecimal tonne) {
		this.tonne = tonne;
	}

	public Double getRatedVolume() {
		return ratedVolume;
	}

	public void setRatedVolume(Double ratedVolume) {
		this.ratedVolume = ratedVolume;
	}

	public Long getCarOwner() {
		return carOwner;
	}

	public void setCarOwner(Long carOwner) {
		this.carOwner = carOwner;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public Date getRegisteredTime() {
		return registeredTime;
	}

	public void setRegisteredTime(Date registeredTime) {
		this.registeredTime = registeredTime;
	}

	public Date getAnnualCheckExpiryTime() {
		return annualCheckExpiryTime;
	}

	public void setAnnualCheckExpiryTime(Date annualCheckExpiryTime) {
		this.annualCheckExpiryTime = annualCheckExpiryTime;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Long getCreateBy() {
		return createBy;
	}

	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public Long getModifyBy() {
		return modifyBy;
	}

	public void setModifyBy(Long modifyBy) {
		this.modifyBy = modifyBy;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Integer getRdstatus() {
		return rdstatus;
	}

	public void setRdstatus(Integer rdstatus) {
		this.rdstatus = rdstatus;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getBelongSiteIdName() {
		return belongSiteIdName;
	}

	public void setBelongSiteIdName(String belongSiteIdName) {
		this.belongSiteIdName = belongSiteIdName;
	}

	public String getCarOwnerName() {
		return carOwnerName;
	}

	public void setCarOwnerName(String carOwnerName) {
		this.carOwnerName = carOwnerName;
	}

	public String getCreateByName() {
		return createByName;
	}

	public void setCreateByName(String createByName) {
		this.createByName = createByName;
	}

	public String getModifyByName() {
		return modifyByName;
	}

	public void setModifyByName(String modifyByName) {
		this.modifyByName = modifyByName;
	}

	public int getIsDriver() {
		return isDriver;
	}

	public void setIsDriver(int isDriver) {
		this.isDriver = isDriver;
	}

	public String getCarStatus() {
		return carStatus;
	}

	public void setCarStatus(String carStatus) {
		this.carStatus = carStatus;
	}

	@Override
	public String toString() {
		return "BaseCar{" +
				"Id=" + Id +
				", carNo='" + carNo + '\'' +
				", brandModel=" + brandModel +
				", belongSiteId=" + belongSiteId +
				", belongSiteIdName='" + belongSiteIdName + '\'' +
				", carType=" + carType +
				", tonne=" + tonne +
				", ratedVolume=" + ratedVolume +
				", carOwner=" + carOwner +
				", carOwnerName='" + carOwnerName + '\'' +
				", phoneNumber='" + phoneNumber + '\'' +
				", registeredTime=" + registeredTime +
				", annualCheckExpiryTime=" + annualCheckExpiryTime +
				", address='" + address + '\'' +
				", createBy=" + createBy +
				", createByName='" + createByName + '\'' +
				", modifyBy=" + modifyBy +
				", modifyByName='" + modifyByName + '\'' +
				", remark='" + remark + '\'' +
				", createTime=" + createTime +
				", modifyTime=" + modifyTime +
				", rdstatus=" + rdstatus +
				", isDriver=" + isDriver +
				", carStatus='" + carStatus + '\'' +
				'}';
	}
}